package com.jdk.learn.nio._04;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.ServerSocketChannel;

/**
 * 类功能描述:
 *
 * @author baigt
 * @version V1.0
 * @since 2019-07-06 18:17
 */
public class Server {
    public static void main(String[] args) throws IOException {
        ServerSocketChannel serverChannel=ServerSocketChannel.open();
        serverChannel.configureBlocking(false);
        serverChannel.bind(new InetSocketAddress(1234));
//        serverChannel.set
    }
}
